$(document).ready(function() {
	$("#pageSelection").bind("change",function(){
		$("#memberCostPageIndex").val($("#pageSelection").val());
		$("#memberGoodsCostTable").load(getRootPath()+ "/MainMenu/members/memberGoodsCost.htm", $("#memberGoodsCostForm").serializeArray());
	});
	
	$("#previousButton").bind("click",function(){
		$("#memberCostPageIndex").val($("#previousPageIndex").val());
		$("#memberGoodsCostTable").load(getRootPath()+ "/MainMenu/members/memberGoodsCost.htm", $("#memberGoodsCostForm").serializeArray());
	});
	
	$("#nextButton").bind("click",function(){
		$("#memberCostPageIndex").val($("#nextPageIndex").val());
		$("#memberGoodsCostTable").load(getRootPath()+ "/MainMenu/members/memberGoodsCost.htm", $("#memberGoodsCostForm").serializeArray());
	});
});